Update to Clutter.Event getter methods in Clutter.Actor vfuncs
as the old way no longer works
Related to https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2872
Signed-off-by: Hollow Man <hollowman@opensuse.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2946>
this._firstDayIndex = this.get_n_children();
}
- vfunc_scroll_event(scrollEvent) {
- switch (scrollEvent.direction) {
+ vfunc_scroll_event(event) {
+ switch (event.get_scroll_direction()) {
case Clutter.ScrollDirection.UP:
case Clutter.ScrollDirection.LEFT:
this._onPrevMonthButtonClicked();